package cn.veryjava.business;

import cn.veryjava.business.service.BusinessService;
import com.alibaba.dubbo.rpc.Invoker;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/**
 * Created by Administrator on 2017/4/12.
 */
public class Start {

    public static void main(String [] args)throws Exception{

        JdkProxyFactory jdkProxyFactory= new JdkProxyFactory();

        BusinessService businessService = jdkProxyFactory.getProxy(new MethodResult<BusinessService>(),new Class[]{ BusinessService.class });


        businessService.findBusiness(1,"zhang");

    }






}





